<!--#INCLUDE FILE="config.asp"-->
<%
if(session("AdminId") = "" and Session("AdminAccessLevel") <> 1 ) then
	Response.Redirect("admin-login.asp?msg=invalid")
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../styles.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<!-- DATE PICKER SCRIPT -->
<link type="text/css" href="../css/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript">
	$(function() {
	
	var n = "";
	var n1 = "";
	var departure1_default = new Date();
	var arrival2_default = new Date();
	// set default value for Salida: in Fecha1
	$( "#arrival1" ).change(function(){
		var nextDay = $( "#arrival1" ).val();
		n = nextDay.split("/");
		newday = new Date(""+n[0]+"/"+n[1]+"/"+n[2]+"");
		departure1_default.setDate(newday.getDate()+3);
		arrival2_default.setDate(newday.getDate()+1);
		$( "#departure1" ).datepicker({ 
			defaultDate: departure1_default});
		$( "#arrival2" ).datepicker({ 
			defaultDate: arrival2_default});
	});
	
	$( "#arrival2" ).change(function(){
		arrival2_default.setDate(arrival2_default.getDate()+3);
		$( "#departure2" ).datepicker({ 
			defaultDate: arrival2_default});
	});
	
	$("#departure1").click(function(){
		if ($( "#arrival1" ).val() == ''){
			alert("First select Llegada");
			$( "#arrival1" ).focus();
			return false;
		} 
	});
	
	$("#departure2").click(function(){
		if ($( "#arrival2" ).val() == ''){
			alert("First select Llegada");
			$( "#arrival2" ).focus();
			return false;
		} 
	});
	
	$("#arrival2").click(function(){
		if ($( "#arrival1" ).val() == ''){
			$( "#arrival2" ).datepicker();
			$( "#arrival2" ).focus();
			return false;
		} 
	});
	
		$( "#arrival1" ).datepicker();

		//
		
		// datepicker divA
		$( "#arrival1_divA" ).datepicker();
		$( "#arrival2_divA" ).datepicker();
		$( "#departure1_divA" ).datepicker();
		$( "#departure2_divA" ).datepicker();
		
		// datepicker divB
		$( "#arrival1_divB" ).datepicker();
		$( "#departure1_divB" ).datepicker();
		$( "#departure2_divB" ).datepicker();
		$( "#arrival2_divB" ).datepicker();
		
		// datepicker divC
		$( "#arrival1_divC" ).datepicker();
		$( "#departure1_divC" ).datepicker();
		$( "#departure2_divC" ).datepicker();
		$( "#arrival2_divC" ).datepicker();
		
		$("#submit_divA").click(button_divA);
		$("#submit_divB").click(button_divB);
		$("#submit_divC").click(button_divC);
		
	});
	
	function button_divA(){
		$.ajax({
			type:"GET",
			url: "extraNoches.asp",
			dataType: "html",
			data: {Action:'divA',roomsize:$("#Habitacion_divA").val(), startdate:$("#arrival1_divA").val()},
			async: false,
			success: function(data){ 
				$("#areaUpdate_divA").html(data);
				$("#submit_divA").click(button_divA);
				$("#checked_divA").val('1');
			}
		});
	return false;
	}
	
	function button_divB(){
		$.ajax({
			type:"POST",
			url: "extraNoches.asp",
			dataType: "html",
			data: {Action:'divB',roomsize:$("#Habitacion_divB").val(), startdate:$("#arrival1_divB").val()},
			async: false,
			success: function(data){ 
				$("#areaUpdate_divB").html(data);
				$("#submit_divB").click(button_divB);
				$("#checked_divB").val('1');
			}
		});
		return false;
	}
	
	function button_divC(){
		$.ajax({
			type:"POST",
			url: "extraNoches.asp",
			dataType: "html",
			data: {Action:'divC',roomsize:$("#Habitacion_divC").val(), startdate:$("#arrival1_divC").val(), enddate:$("#departure1_divC").val()},
			async: false,
			success: function(data){ 
				$("#areaUpdate_divC").html(data);
				$("#submit_divC").click(button_divC);
				$("#checked_divC").val('1');
			}
		});
		return false;
	}
	
  <!-- END DATE PICKER SCRIPT -->
</script>

<style>
#divA,
#divB,
#divC


{	
	display:none;
	
}	

</style>

<script language="javascript">
    function divHideShow(divToHideOrShow) 
    {
        var div = document.getElementById(divToHideOrShow);

        if (div.style.display == "block") 
        {
			var divs = document.getElementById(divToHideOrShow);
			
			div.style.display = "none";

        }
        else 
        {
			var resultA = new Date();
			var resultB = new Date();
			var resultC = new Date();
			var resultD = new Date();
			
			switch(divToHideOrShow)
			{
			case "divA":
			
				var a = document.getElementById("departure1").value;
				if (a != ''){
					var arrayA = a.split("/");
					var newday  = new Date(""+arrayA[0]+"/"+arrayA[1]+"/"+arrayA[2]+"");
					resultA.setDate(newday.getDate()+1);
					setMonthA = resultA.getMonth() + 1;
					var textA = (setMonthA < 10 ? "0" : "") + setMonthA;
					setResultA = (""+textA+"/"+resultA.getDate()+"/"+resultA.getFullYear()+"")
				} else {
					setResultA = '';
				}
				
				var b = document.getElementById("departure2").value;
				if (b != ''){
					var arrayB = b.split("/");
					var newday1  = new Date(""+arrayB[0]+"/"+arrayB[1]+"/"+arrayB[2]+"");
					resultB.setDate(newday1.getDate()+1);
					setMonth = resultB.getMonth() + 1;
					var textB = (setMonth < 10 ? "0" : "") + setMonth;
					setResultB = (""+textB+"/"+resultB.getDate()+"/"+resultB.getFullYear()+"")
				} else {
					setResultB = '';
				}
				
				resultC.setDate(newday.getDate()+3);
				setMonthC = resultB.getMonth() + 1;
				var textC = (setMonthC < 10 ? "0" : "") + setMonthC;
				setResultC = (""+textC+"/"+resultC.getDate()+"/"+resultC.getFullYear()+"")
				
				resultD.setDate(newday1.getDate()+3);
				setMonthD = resultB.getMonth() + 1;
				var textD = (setMonthD < 10 ? "0" : "") + setMonthD;
				setResultD = (""+textD+"/"+resultD.getDate()+"/"+resultD.getFullYear()+"")
				
				document.getElementById("arrival1_divA").value = setResultA;
				document.getElementById("arrival2_divA").value = setResultB;
				document.getElementById("departure1_divA").value = setResultC;
				document.getElementById("departure2_divA").value = setResultD;
				
				break;
			
			case "divB":
			
				var a = document.getElementById("departure1_divA").value;
				if (a != ''){
					var arrayA = a.split("/");
					var newday  = new Date(""+arrayA[0]+"/"+arrayA[1]+"/"+arrayA[2]+"");
					resultA.setDate(newday.getDate()+1);
					setMonthA = resultA.getMonth() + 1;
					var textA = (setMonthA < 10 ? "0" : "") + setMonthA;
					setResultA = (""+textA+"/"+resultA.getDate()+"/"+resultA.getFullYear()+"")
				} else {
					setResultA = '';
				}
				
				var b = document.getElementById("departure2_divA").value;
				if (b != ''){
					var arrayB = b.split("/");
					var newday1  = new Date(""+arrayB[0]+"/"+arrayB[1]+"/"+arrayB[2]+"");
					resultB.setDate(newday1.getDate()+1);
					setMonth = resultB.getMonth() + 1;
					var textB = (setMonth < 10 ? "0" : "") + setMonth;
					setResultB = (""+textB+"/"+resultB.getDate()+"/"+resultB.getFullYear()+"")
				} else {
					setResultB = '';
				}
				
				resultC.setDate(newday.getDate()+3);
				setMonthC = resultB.getMonth() + 1;
				var textC = (setMonthC < 10 ? "0" : "") + setMonthC;
				setResultC = (""+textC+"/"+resultC.getDate()+"/"+resultC.getFullYear()+"")
				
				resultD.setDate(newday1.getDate()+3);
				setMonthD = resultB.getMonth() + 1;
				var textD = (setMonthD < 10 ? "0" : "") + setMonthD;
				setResultD = (""+textD+"/"+resultD.getDate()+"/"+resultD.getFullYear()+"")
				
				document.getElementById("arrival1_divB").value = setResultA;
				document.getElementById("arrival2_divB").value = setResultB;
				document.getElementById("departure1_divB").value = setResultC;
				document.getElementById("departure2_divB").value = setResultD;
				
				break;
				
			case "divC":
				
				var a = document.getElementById("departure1_divB").value;
				if (a != ''){
					var arrayA = a.split("/");
					var newday  = new Date(""+arrayA[0]+"/"+arrayA[1]+"/"+arrayA[2]+"");
					resultA.setDate(newday.getDate()+1);
					setMonthA = resultA.getMonth() + 1;
					var textA = (setMonthA < 10 ? "0" : "") + setMonthA;
					setResultA = (""+textA+"/"+resultA.getDate()+"/"+resultA.getFullYear()+"")
				} else {
					setResultA = '';
				}
				
				var b = document.getElementById("departure2_divB").value;
				if (b != ''){
					var arrayB = b.split("/");
					var newday1  = new Date(""+arrayB[0]+"/"+arrayB[1]+"/"+arrayB[2]+"");
					resultB.setDate(newday1.getDate()+1);
					setMonth = resultB.getMonth() + 1;
					var textB = (setMonth < 10 ? "0" : "") + setMonth;
					setResultB = (""+textB+"/"+resultB.getDate()+"/"+resultB.getFullYear()+"")
				} else {
					setResultB = '';
				}
				
				resultC.setDate(newday.getDate()+3);
				setMonthC = resultB.getMonth() + 1;
				var textC = (setMonthC < 10 ? "0" : "") + setMonthC;
				setResultC = (""+textC+"/"+resultC.getDate()+"/"+resultC.getFullYear()+"")
				
				resultD.setDate(newday1.getDate()+3);
				setMonthD = resultB.getMonth() + 1;
				var textD = (setMonthD < 10 ? "0" : "") + setMonthD;
				setResultD = (""+textD+"/"+resultD.getDate()+"/"+resultD.getFullYear()+"")
				
				document.getElementById("arrival1_divC").value = setResultA;
				document.getElementById("arrival2_divC").value = setResultB;
				document.getElementById("departure1_divC").value = setResultC;
				document.getElementById("departure2_divC").value = setResultD;
				
				break;
			}
			
            div.style.display = "block";
        }

        
    }         
</script>

<script>
function SubmitForm1()
{
	document.forms['contactus'].action='admin-send-invitation.asp';
	document.forms['contactus'].submit();
}

function SubmitForm2()
{
	document.forms['contactus'].action='send_invitation_process.asp';
	document.forms['contactus'].submit();
}

</script>

<%
	If (Request("code") <> "") Then
	
		code = Request("code")
		
		sqlstring = "SELECT dbo.Codes.*,dbo.Products.ProductID,dbo.Propertys.PropertyID  "
		sqlstring = sqlstring & " FROM dbo.Codes "
		sqlstring = sqlstring & " INNER JOIN dbo.Products ON dbo.Products.ProductID = dbo.Codes.ProductID "
		sqlstring = sqlstring & " INNER JOIN dbo.Propertys ON dbo.Propertys.PropertyID = dbo.Codes.PropertyID "
		sqlstring = sqlstring & " WHERE Code = '"& code & "'"
		
		set objConnect = server.createObject("ADODB.Connection")

		objConnect.Open conStr

		set TblTemp = server.createobject("Adodb.Recordset")
				
			TblTemp.Open Sqlstring, objConnect
			
			Do Until TblTemp.EOF
			
				ExDate = TblTemp("ExpDate")
				
				if (Date >= ExDate) Then 		
					response.write "<script type=text/javascript>"
					response.write "popupWin = window.open('FEI_Extend_Offer.asp','popup','width=300,height=300')"
					response.write "</script>"
					Exit Do
				End If
				
				codeID = TblTemp("CodeID")
				Origina = TblTemp("Originator")
				Camp = TblTemp("Campaign")
				ProductID = TblTemp("ProductID")
				PropertyID = TblTemp("PropertyID")
				
				TblTemp.MoveNext
			Loop
	End If

%>



<title>Admin Enviar Reserva :: Costa Baja</title>
</head>
<body>

<div id="main_wrapper">
    	<div class="main_wrapper_margin">
        	
            <div class="admin_top_menu">
            <!--#INCLUDE FILE="admin_menu.asp"--> 
           	</div>
             
			<h1>Enviar Reserva</h1>         
           
           <div class="clear"></div>
          <form id='contactus' action='' method='get'>
           <fieldset>
           	<legend>Informacion Personal</legend>
            <table cellpadding="0" width="100%">
            	
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombre: </label><br />
					<input type="text" name="Nombre" id="Nombre" value="<%=REQUEST("Nombre")%>"/>
  					</td>
                    <td width="33%">
                    <label>Segundo Nombre: </label><br />
                    <input type="text" name="Segundo_Nombre" id="Segundo_Nombre" value="<%=REQUEST("Segundo_Nombre")%>"/>
            		</td>
                    <td width="33%">
                    <label>Apellido: </label><br />
					<input type="text" name="Apellido" id="Apellido" value="<%=REQUEST("Apellido")%>"/>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Telefono: </label><br />
					<input type="text" name="Telefono" id="Telefono" value="<%=REQUEST("Telefono")%>"/>
  					</td>
                    <td width="33%">
                    <label>E-mail: </label><br />
					<input type="text" name="email" id="email" value="<%=REQUEST("email")%>"/>
            		</td>
                    <td width="33%">
                    		<label>Idioma: </label><br />
            			<select name = "Idioma" id="Idioma">
	            		<option value="0">-- Seleccionar --</option>
            			<option <% if(REQUEST("Idioma")= "1") then%> selected="selected" <% end if%> value="1">Español</option>
                		<option <% if(REQUEST("Idioma")= "2") then%> selected="selected" <% end if%> value="2">English</option>
            			</select>
                    
                    </td>
                </tr><!-- END ROW -->
                
                  <tr> <!-- ROW -->
                    <td>
            	<label>Direccion 1: </label><br />
                <input type="text" name="Direccion1" id="Direccion1" value="<%=REQUEST("Direccion1")%>"/>
            		</td>
                    <td>
            	<label>Direccion 2: </label><br />
                <input type="text" name="Direccion2" id="Direccion2" value="<%=REQUEST("Direccion2")%>"/>
            		</td>
                    <td>
             <label>Ciudad: </label><br />
                <input type="text"name="Ciudad" id="Ciudad" value="<%=REQUEST("Ciudad")%>"/>
            		</td>
                 </tr><!-- END ROW -->
                
               <tr> <!-- ROW -->
                    <td>
            	<label>Stado / Provincia: </label><br />
                <input type="text" name="Stado" id="Stado" value="<%=REQUEST("Stado")%>"/>
            		</td>
                    <td>
            	<label>Codigo Postal: </label><br />
                <input type="text"name="Postal" id="Postal" value="<%=REQUEST("Postal")%>"/>
            		</td>
                    <td>
             <label>Pais: </label><br />
                <input type="text" name="Pais" id="Pais" value="<%=REQUEST("Pais")%>"/>
            		</td>
                 </tr><!-- END ROW -->
                    
                <tr> <!-- ROW -->
                    <td>
                  		<label>Comunicasion: </label><br />
            			<select name = "Comunicasion" id="Comunicasion">
            			<option value="0">-- Seleccionar --</option>
            			<option <% if(REQUEST("Comunicasion")= "Telefono") then%> selected="selected" <% end if%> value="Telefono">Telefono</option>
                		<option <% if(REQUEST("Comunicasion")= "E-Mail") then%> selected="selected" <% end if%> value="E-Mail">E-Mail</option>
            			</select>
            		</td>
                    <td>	
					<label>Ingresar CODIGO: </label><br />
					<input type="text" id="code" name="code" value="<%=code%>"/>
					<input type="hidden" id="codeId" name="codeId" value="<%=codeID%>" />
            		</td>
					
                    <td>
             	<input type="button"  value="Enviar" onclick='SubmitForm1()' />
            		</td>
                 </tr><!-- END ROW -->
           
            </table>
            
           </fieldset>
             

<!-- SECOND PART OF THE FORM -->           
           <fieldset>
           		<legend>Informacion de Viaje</legend>
      
                  <table cellpadding="0" width="100%">
                  
                    <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Originador :</label><br />
                    <input type="text"  name="Originador" id="Originador" value="<%=Origina%>"/>
  					</td>
                    <td width="33%">
                    <label>Producto :</label><br />
                     	<select name="Producto" id="Producto">
			    		<option value="0">-- Seleccionar --</option>
            			<option <% if(ProductID= 1) then%> selected="selected" <% end if%> value="Residencia">Residencia</option>
                		<option <% if(ProductID= 2) then%> selected="selected" <% end if%> value="Full/Ownership">Full/Ownership</option>
            			</select>
            		</td>
                    <td width="33%">
                    <label>Campaña :</label><br />
					<input type="text" name="Campaña" id="Campaña" value="<%=Camp%>"/>
                    </td>
                </tr><!-- END ROW -->
                
                                    <tr> <!-- ROW -->
                	<td width="33%">
            	<label>Propiedad: </label><br />
            			<select name="Propiedad" id="Propiedad">
			    		<option value="0">-- Seleccionar --</option>
            			<option <% if(PropertyID= 1) then%> selected="selected" <% end if%> value="VM - Vista Mar">VM - Vista Mar</option>
                		<option <% if(PropertyID= 2) then%> selected="selected" <% end if%> value="LC - Las Colinas Resort">LC Las Colinas Resort</option>
            			</select>
  					</td>
                    <td width="33%">
                       <label>Tamaño de Habitacion: </label><br />
            			<select name="Habitacion" id="Habitacion">
			    		<option value="0">-- Seleccionar --</option>
            			<option value="Tamaño 1">Tamaño 1</option>
                		<option value="Tamaño 2">Tamaño 2</option>
            			</select>
       
            		</td>
                    <td width="33%">&nbsp;
                 
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text" id="arrival1" name="arrival1"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure1" name="departure1"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text"  id="arrival2" name="arrival2"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure2" name="departure2"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero Total de Invitados: </label><br />
                    <select name="NumeroTotaldeInvitados" id="NumeroTotaldeInvitados">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>                
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños: </label><br />
                    <select name="NumerodeNinos" id="NumerodeNinos">
					<%For i = 0 To 10 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras: </label><br />
					<select name="NochesExtras" id="NochesExtras">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes: </label><br />
					<textarea cols="30" rows="5"name="NombresdeAcompanantes" id="NombresdeAcompanantes"></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion: </label><br />
					<textarea cols="30" rows="5"name="DetallesdeHabitacion" id="DetallesdeHabitacion"></textarea>
            		</td>
                    <td width="33%">
                    
                            <label>Actividades: </label><br />
					<textarea cols="30" rows="5"name="Actividades" id="Actividades"></textarea>
              
                    </td>
                </tr><!-- END ROW -->
				<tr> <!-- ROW -->
                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           
             
            </table>
			
			<a href="javascript:divHideShow('divA');">+ Extra Noches</a>
            <br />
            <div id="divA">
			
             <hr/>
            <h3>Extra 1</h3>
			<input type="hidden" name="checked_divA" id="checked_divA" value="0"/>
			<table cellpadding="0" width="100%">
                                    <tr> <!-- ROW -->
                	<td width="33%">
            	<label>Propiedad: </label><br />
            			<select name="Propiedad_divA" id="Propiedad_divA">
			    		<option value="0">-- Seleccionar --</option>
            			<option <% if(PropertyID= 1) then%> selected="selected" <% end if%> value="VM - Vista Mar">VM - Vista Mar</option>
                		<option <% if(PropertyID= 2) then%> selected="selected" <% end if%> value="LC - Las Colinas Resort">LC Las Colinas Resort</option>
            			</select>
  					</td>
                    <td width="33%">
                       <label>Tamaño de Habitacion: </label><br />
            			<select name="Habitacion_divA" id="Habitacion_divA">
			    		<option value="0">-- Seleccionar --</option>
            			<option value="Tamaño 1">Tamaño 1</option>
                		<option value="Tamaño 2">Tamaño 2</option>
            			</select>
       
       
            		</td>
                    <td width="33%">&nbsp;
                 
                 
                 
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text" id="arrival1_divA" name="arrival1_divA"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure1_divA" name="departure1_divA"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text"  id="arrival2_divA" name="arrival2_divA"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure2_divA" name="departure2_divA"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero Total de Invitados: </label><br />
                    <select name="NumeroTotaldeInvitados_divA" id="NumeroTotaldeInvitados_divA">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>              
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños: </label><br />
                    <select name="NumerodeNinos_divA" id="NumerodeNinos_divA">
                    <%For i = 0 To 10 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>                 
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras: </label><br />
					<select name="NochesExtras_divA" id="NochesExtras_divA">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes: </label><br />
					<textarea cols="30" rows="5"name="NombresdeAcompanantes_divA" id="NombresdeAcompanantes_divA"></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion: </label><br />
					<textarea cols="30" rows="5"name="DetallesdeHabitacion_divA" id="DetallesdeHabitacion_divA"></textarea>
            		</td>
                    <td width="33%">
                    
                            <label>Actividades: </label><br />
					<textarea cols="30" rows="5"name="Actividades_divA" id="Actividades_divA"></textarea>
              
                    </td>
                </tr><!-- END ROW -->
                
                
                <tr id="areaUpdate_divA"> <!-- ROW -->
                	<td width="33%">
            		<label>Tarifa :</label><br />
                    <input type="text"  />
  					</td>
                    <td width="33%">
                    <label>Tarifa con Descuento :</label><br />
                     	<input type="text"  />
            		</td>
                    <td width="33%">
                    <input id="submit_divA" name="" type="button" value="Ver Tarifas"/>
                 
                    </td>
                </tr><!-- END ROW -->
            </table>
            
                      <br />
<a href="javascript:divHideShow('divB');">+ Extra Noches</a>
            <br />
                        
            </div><! -- END  EXTRA INFO -->
            
            
            
            <div id="divB">
<hr/>
			<h3>Extra 2</h3>
			<input type="hidden" name="checked_divB" id="checked_divB" value="0"/>
            <table cellpadding="0" width="100%">
                                    <tr> <!-- ROW -->
                	<td width="33%">
            	<label>Propiedad: </label><br />
            			<select name="Propiedad_divB" id="Propiedad_divB">
			    		<option value="0">-- Seleccionar --</option>
            			<option <% if(PropertyID= 1) then%> selected="selected" <% end if%> value="VM - Vista Mar">VM - Vista Mar</option>
                		<option <% if(PropertyID= 2) then%> selected="selected" <% end if%> value="LC - Las Colinas Resort">LC Las Colinas Resort</option>
            			</select>
  					</td>
                    <td width="33%">
                       <label>Tamaño de Habitacion: </label><br />
            			<select name="Habitacion_divB" id="Habitacion_divB">
			    		<option value="0">-- Seleccionar --</option>
            			<option value="Tamaño 1">Tamaño 1</option>
                		<option value="Tamaño 2">Tamaño 2</option>
            			</select>
       
       
            		</td>
                    <td width="33%">&nbsp;
                 
                 
                 
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text" id="arrival1_divB" name="arrival1_divB"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure1_divB" name="departure1_divB"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text"  id="arrival2_divB" name="arrival2_divB"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure2_divB" name="departure2_divB"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero Total de Invitados: </label><br />
                    <select name="NumeroTotaldeInvitados_divB" id="NumeroTotaldeInvitados_divB">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>               
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños: </label><br />
                    <select name="NumerodeNinos_divB" id="NumerodeNinos_divB">
                    <%For i = 0 To 10 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>                
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras: </label><br />
					<select name="NochesExtras_divB" id="NochesExtras_divB">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes: </label><br />
					<textarea cols="30" rows="5"name="NombresdeAcompanantes_divB" id="NombresdeAcompanantes_divB"></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion: </label><br />
					<textarea cols="30" rows="5"name="DetallesdeHabitacion_divB" id="DetallesdeHabitacion_divB"></textarea>
            		</td>
                    <td width="33%">
                    
                            <label>Actividades: </label><br />
					<textarea cols="30" rows="5"name="Actividades_divB" id="Actividades_divB"></textarea>
              
                    </td>
                </tr><!-- END ROW -->
                
                
                 <tr id="areaUpdate_divB"> <!-- ROW -->
                	<td width="33%">
            		<label>Tarifa :</label><br />
                    <input type="text"  />
  					</td>
                    <td width="33%">
                    <label>Tarifa con Descuento :</label><br />
                     	<input type="text"  />
            		</td>
                    <td width="33%">
                      <input id="submit_divB" name="" type="button" value="Ver Tarifas"/>
                    </td>
                </tr><!-- END ROW -->
             
            </table>
           
                                  <br />
<a href="javascript:divHideShow('divC');">+ Extra Noches</a>
            <br />
                        
            
            </div><! -- END  EXTRA INFO -->
            
                      <div id="divC">
<hr/>
		<h3>Extra 3</h3>
		<input type="hidden" name="checked_divC" id="checked_divC" value="0"/>
            <table cellpadding="0" width="100%">
                                    <tr> <!-- ROW -->
                	<td width="33%">
            	<label>Propiedad: </label><br />
            			<select name="Propiedad_divC" id="Propiedad_divC">
			    		<option value="0">-- Seleccionar --</option>
            			<option <% if(PropertyID= 1) then%> selected="selected" <% end if%> value="VM - Vista Mar">VM - Vista Mar</option>
                		<option <% if(PropertyID= 2) then%> selected="selected" <% end if%> value="LC - Las Colinas Resort">LC Las Colinas Resort</option>
            			</select>
  					</td>
                    <td width="33%">
                       <label>Tamaño de Habitacion: </label><br />
            			<select name="Habitacion_divC" id="Habitacion_divC">
			    		<option value="0">-- Seleccionar --</option>
            			<option value="Tamaño 1">Tamaño 1</option>
                		<option value="Tamaño 2">Tamaño 2</option>
            			</select>
       
       
            		</td>
                    <td width="33%">&nbsp;
                 
                 
                 
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text" id="arrival1_divC" name="arrival1_divC"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure1_divC" name="departure1_divC"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2</label>
  					</td>
                    <td width="33%">
                    <label>Llegada: </label><br />
                    <input type="text"  id="arrival2_divC" name="arrival2_divC"/>
            		</td>
                    <td width="33%">
                    <label>Salida: </label><br />
					<input type="text" id="departure2_divC" name="departure2_divC"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero Total de Invitados: </label><br />
                    <select name="NumeroTotaldeInvitados_divC" id="NumeroTotaldeInvitados_divC">
                   <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>           
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños: </label><br />
                    <select name="NumerodeNinos_divC" id="NumerodeNinos_divC">
                    <%For i = 0 To 10 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>                   
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras: </label><br />
					<select name="NochesExtras_divC" id="NochesExtras_divC">
                    <%For i = 0 To 5 %>
                    <option value="<%=i%>"><%=i%></option>
					<%Next%>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes: </label><br />
					<textarea cols="30" rows="5"name="NombresdeAcompanantes_divC" id="NombresdeAcompanantes_divC"></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion: </label><br />
					<textarea cols="30" rows="5"name="DetallesdeHabitacion_divC" id="DetallesdeHabitacion_divC"></textarea>
            		</td>
                    <td width="33%">
                    
                            <label>Actividades: </label><br />
					<textarea cols="30" rows="5"name="Actividades_divC" id="Actividades_divC"></textarea>
              
                    </td>
                </tr><!-- END ROW -->
                
                
                 <tr id="areaUpdate_divC"> <!-- ROW -->
                	<td width="33%">
            		<label>Tarifa :</label><br />
                    <input type="text"  />
  					</td>
                    <td width="33%">
                    <label>Tarifa con Descuento :</label><br />
                     	<input type="text"  />
            		</td>
                    <td width="33%">
                      <input id="submit_divC" name="" type="button" value="Ver Tarifas"/>
                    </td>
                </tr><!-- END ROW -->
             
            </table>
          
            
            </div><! -- END  EXTRA INFO -->
				                
           </fieldset><!-- END OF FADED -->
           
            <fieldset><!-- TRANSPORTACION -->
           		<legend>Transporte</legend>
                
           <table cellpadding="0" width="100%">     
           
           <tr><!-- ROW -->
           		<td colspan="3"><h4>Legada</h4>
                </td>
                
            </tr><!-- END ROW -->    
           
           <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Aereolinea: </label><br />
					<select name="Aereolinea" id="Aereolinea">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="1">American Airlines</option>
                		<option value="2">United</option>
                        <option value="3">AereoMexico</option>
                        <option value="4">LAN</option>
                       </select>
                       </td>
                    <td width="33%">
                             <label>Aereopuerto: </label><br />
					<select name="Aereopuerto" id="Aereopuerto">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="1">La Paz</option>
                		<option value="2">Los Cabos</option>
            		</select>
                    </td>
                    
                   <td width="33%">
                    <label>Necesitan Transporte? </label><br />
					<select name="NecesitanTransporte" id="NecesitanTransporte">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="1">SI</option>
                		<option value="0">NO</option>
            		</select>
            		</td>
                </tr><!-- END ROW --> 
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Hora Aproximada de llegada (mm/dd/yyyy)</label><br />
					<input type="text" name="HoraAproximadadellegada" id="HoraAproximadadellegada"/>
                    
                    
                       </td>
                    <td width="33%">&nbsp;
                  
                    </td>
                    
                   <td width="33%">&nbsp;
                 
            		</td>
                </tr><!-- END ROW --> 
                
                <tr><!-- ROW -->
           		<td colspan="3"><h4>Salida</h4>
                </td>
                
            </tr><!-- END ROW -->    
           
           <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Aereolinea: </label><br />
					<select name="Salida_Aereolinea" id="Salida_Aereolinea">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="1">American Airlines</option>
                		<option value="2">United</option>
                        <option value="3">AereoMexico</option>
                        <option value="4">LAN</option>
                       </select>
                       </td>
                    <td width="33%">
                             <label>Aereopuerto: </label><br />
					<select name="Salida_Aereopuerto" id="Salida_Aereopuerto">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="1">La Paz</option>
                		<option value="2">Los Cabos</option>
            		</select>
                    </td>
                    
                   <td width="33%">
                    <label>Necesitan Transporte? </label><br />
					<select name="Salida_NecesitanTransporte" id="Salida_NecesitanTransporte">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="1">SI</option>
                		<option value="0">NO</option>
            		</select>
            		</td>
                </tr><!-- END ROW --> 
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Hora de Salida (mm/dd/yyyy)</label><br />
					<input type="text" name="HoradeSalida" id="HoradeSalida"/>
                    
                    
                       </td>
                    <td width="33%">&nbsp;
                  
                    </td>
                    
                   <td width="33%">&nbsp;
                 
            		</td>
                </tr><!-- END ROW --> 
                
                 <tr><!-- ROW -->
                <td colspan="3">
                <label>Notas: </label><br />
                <textarea cols="100" rows="3" name="Notas" id="Notas"></textarea>
                </td>
                </tr><!-- END ROW -->
                
                <tr><!-- ROW -->
                <td colspan="3">
                <label>Inforamacion Pendiente: </label><br />
                <textarea cols="100" rows="3" name="InforamacionPendiente" id="InforamacionPendiente"></textarea>
                </td>
                </tr><!-- END ROW -->
                
                
                  <tr> <!-- ROW -->
                	
                    <td valign="bottom" align="center" colspan="3">
                    <br />
                   
            		</td>
                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           
           </table>
           </fieldset><!-- END TRANSPORTACION -->
           
           
           
                <fieldset><!-- TARJETA DE CREDITO -->
           		<legend>Tarjeta de Credito</legend>
                
           <table cellpadding="0" width="100%">  
              <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombre: </label><br />
					<input type="text" name="NombreCard" id="NombreCard" />   </td>
                    <td width="33%">
                             <label>Tipo: </label><br />
					<select name="Tipo" id="Tipo">
	            		<option value="0">-- Seleccionar --</option>
            			<option value="Visa">Visa</option>
                		<option value="Master Card">Master Card</option>
                        <option value="American Express">American Express</option>
                        <option value="Discover">Discover</option>
                       </select>
                    </td>
                    
                 <td width="33%">
                             <label>Numero de Tarjeta: </label><br />
				<input type="text" name="NumerodeTarjetaCard" id="NumerodeTarjetaCard"/>
                    </td>
                    
                    </tr>
           
              
           <tr> <!-- ROW -->
                  <td width="33%">
                    <label>Fecha de Expiracion (mm/dd/yyyy)</label><br />
					<input type="text" name="FechaDeExpiracion" id="FechaDeExpiracion"/>
            		</td>
                    
                    <td>
                      <label>Codigo de Seguridad: </label><br />
				<input type="text" name="CodigodeSeguridad" id="CodigodeSeguridad"/>
                    </td>
                    
                </tr><!-- END ROW --> 
				
				<tr> <!-- ROW -->
                	
                    <td valign="bottom" align="center" colspan="3">
                    <br />
                     <input type="button"  value="Enviar" onclick='SubmitForm2()'/>
            		</td>
                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           </table>
           </fieldset><!-- END CRADIT CARD -->
           </form>
    	</div><!-- END .main_wrapper_margin -->
	</div><!-- END #main_wrapper -->

         <!-- FOOTER -->
         
         <!--#INCLUDE FILE="admin_footer.asp"-->
         
         <!-- END FOOTER -->   

</body>
</html>
